const logistics = [
  {
    id: '2022001',
    principal: '张三',
    address: 'ABC餐厅，123号街道，城市A',
    state: '运输中',
    quantity: '500箱',
    way: '陆运',
    linkman: '李四',
    phone: '1234567890',
    date: '2022-01-10',
  },
  {
    id: '2022002',
    principal: '王五',
    address: 'XYZ酒店，456号路，城市B',
    state: '已送达',
    quantity: '300箱',
    way: '空运',
    linkman: '赵六',
    phone: '9876543210',
    date: '2022-02-15',
  },
  {
    id: '2022003',
    principal: '刘七',
    address: 'DEF餐馆，789号街道，城市C',
    state: '待配送',
    quantity: '200箱',
    way: '海运',
    linkman: '陈八',
    phone: '5678901234',
    date: '2022-03-20',
  },
  {
    id: '2022004',
    principal: '张三',
    address: 'MNO酒店，321号路，城市D',
    state: '已送达',
    quantity: '400箱',
    way: '陆运',
    linkman: '李四',
    phone: '1234567890',
    date: '2022-04-05',
  },
  {
    id: '2022005',
    principal: '王五',
    address: 'GHI餐厅，654号街道，城市E',
    state: '运输中',
    quantity: '250箱',
    way: '空运',
    linkman: '赵六',
    phone: '9876543210',
    date: '2022-05-15',
  },
  {
    id: '2022006',
    principal: '刘七',
    address: 'JKL餐馆，987号街道，城市F',
    state: '待配送',
    quantity: '150箱',
    way: '海运',
    linkman: '陈八',
    phone: '5678901234',
    date: '2022-06-25',
  },
];

export default {
  'GET /api/logistics': (req: any, res: any) => {
    res.json({
      success: true,
      data: { logistics },
      errorCode: 0,
    });
  },
};
